package com.example.qinghe.entity.sale;

import com.example.qinghe.entity.Common;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;


/**
 * 客户表对象 customer
 * 
 * @author ruoyi
 * @date 2023-08-31
 */
@ApiModel("客户")
public class Customerqh
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("编号")
    private Long id;

    /** 公司 */
    @ApiModelProperty("公司")
    private String company;

    /** 姓名 */
    @ApiModelProperty("客户姓名")
    private String name;

    /** 客户状态 */
    @ApiModelProperty("客户状态")
    private Boolean isvalid;

    /** 客户标号 */
    @ApiModelProperty("客户编号")
    private Long customerid;

    /** 客户经理id */
    @ApiModelProperty("客户经理id")
    private Long managerid;

    @ApiModelProperty("客户经理名称")
    private String managername;

    /** 电话 */
    @ApiModelProperty("电话")
    private String phone;

    /** 领域 */
    @ApiModelProperty("领域")
    private String field;

    private String contactpeople;

    /** 地址 */
    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("联系人")
    private List<Common> Common=new ArrayList<>(0);

    public List<Common> getStaffList() {
        return Common;
    }

    public void setStaffList(List<Common> Common) {
        this.Common = Common;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCompany(String company)
    {
        this.company = company;
    }

    public String getCompany()
    {
        return company;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIsvalid(Boolean isvalid)
    {
        this.isvalid = isvalid;
    }

    public String getContactpeople() {
        return contactpeople;
    }

    public void setContactpeople(String contactpeople) {
        this.contactpeople = contactpeople;
    }

    public Boolean getIsvalid()
    {
        return isvalid;
    }
    public void setCustomerid(Long customerid)
    {
        this.customerid = customerid;
    }

    public Long getCustomerid()
    {
        return customerid;
    }
    public void setManagerid(Long managerid)
    {
        this.managerid = managerid;
    }

    public Long getManagerid()
    {
        return managerid;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setField(String field)
    {
        this.field = field;
    }

    public String getField()
    {
        return field;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    public String getManagername() {
        return managername;
    }

    public void setManagername(String managername) {
        this.managername = managername;
    }


    @Override
    public String toString() {
        return "Customerqh{" +
                "id=" + id +
                ", company='" + company + '\'' +
                ", name='" + name + '\'' +
                ", isvalid=" + isvalid +
                ", customerid=" + customerid +
                ", managerid=" + managerid +
                ", managername='" + managername + '\'' +
                ", phone='" + phone + '\'' +
                ", field='" + field + '\'' +
                ", contactpeople='" + contactpeople + '\'' +
                ", address='" + address + '\'' +
                ", Common=" + Common +
                '}';
    }
}
